package com.lv.api;

import com.lv.data.Result;
import com.lv.dto.SellerDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("shop-seller-service")
public interface SellerServiceApi {

    @PostMapping("/seller/get")
    Result<SellerDto> getSellerByName(@RequestParam("sellerId") String sellerId);
}
